package login

import (
	"ginweb-admin/commons/jwtgo"
	"ginweb-admin/service"
)

// 继承聚合，方便统一管理和调用
type WebApiGroup struct {
	LoginApi
	LogoutAPi
}

// 公共实例
var (
	sysUserService     = service.ServiceGroupApp.SysServiceGroup.SysUserService
	sysUserRoleService = service.ServiceGroupApp.SysServiceGroup.SysUserRoleService
	sysMenuService     = service.ServiceGroupApp.SysServiceGroup.SysMenuService
	sysRoleMenuService = service.ServiceGroupApp.SysServiceGroup.SysRoleMenuService
	sysRoleApiService  = service.ServiceGroupApp.SysServiceGroup.SysRoleApiService
	myJwt              = jwtgo.NewJWT()
)
